{load_language_text section="cashflowtech"}
{if $content_data.cft_messages} {foreach $content_data.cft_messages as $message}
{$message.content}
{/foreach} {/if} {foreach from=$content_data.collections item=collection} {foreach $collection.details.base_data as $baseDataKey => $baseDataValue} {$baseDataKeyLabel="base_data_{$baseDataKey}"} {/foreach} {if !$collection.details.booking_data} {else} {/if} {if $collection.payment_data} {/if} {if $collection.booking_data_relevant} {/if} {if $collection.payment_data_relevant} {/if}
{$txt.base_data}
{$txt.$baseDataKeyLabel} {$baseDataValue}
{$txt.detail_data} (ID {$collection.details.detail_data.id})
{$txt.detail_data_file_reference} {$collection.details.detail_data.file_reference_1} / {$collection.details.detail_data.file_reference_2} / {$collection.details.detail_data.file_reference_3}
{$txt.detail_data_role} {$collection.details.detail_data.role}
{$txt.detail_data_contact_data} {$collection.details.detail_data.contact_data.first_name} {$collection.details.detail_data.contact_data.last_name}
{$collection.details.detail_data.contact_data.street} {$collection.details.detail_data.contact_data.housenumber}
{$collection.details.detail_data.contact_data.postalcode} {$collection.details.detail_data.contact_data.city}
{$collection.details.detail_data.contact_data.country}
{$txt.bookings}
{$txt.no_bookings}
{foreach from=$collection.details.booking_data item=bookingRow} {if !$bookingRow.reversal_of_id && $bookingRow.type_description !== 'reversal'} {/if} {/foreach}
{$txt.booking_data_id} {$txt.booking_data_amount} {$txt.booking_data_created_at} {$txt.booking_data_type_id} {$txt.booking_data_type_description} {$txt.booking_data_reversal_of_id}
{$bookingRow.id} {$bookingRow.amount} {$bookingRow.created_at} {$bookingRow.type_id} {$bookingRow.type_description} {$bookingRow.reversal_of_id}
EUR
{$txt.payment_data}
{foreach from=$collection.payment_data item=paymentRow} {/foreach}
{$txt.payment_data_id} {$txt.payment_data_amount} {$txt.payment_data_created_at} {$txt.payment_data_type_id}/{$txt.payment_data_type_description} {$txt.payment_data_reversal_of_id} {$txt.payment_data_booking_id_incoming} {$txt.payment_data_booking_id_used}
{$paymentRow.id} {$paymentRow.amount} {$paymentRow.created_at} {$paymentRow.type_id}/{$paymentRow.type_description} {$paymentRow.reversal_of_id} {$paymentRow.booking_id_incoming} {$paymentRow.booking_id_used}
{$txt.booking_data_relevant}
{foreach from=$collection.booking_data_relevant item=bookingRelevantRow} {/foreach}
<{$txt.booking_data_relevant_id} <{$txt.booking_data_relevant_amount} <{$txt.booking_data_relevant_created_at} <{$txt.booking_data_relevant_type_id} <{$txt.booking_data_relevant_type_description} <{$txt.booking_data_relevant_reversal_of_id}
{$bookingRelevantRow.id} {$bookingRelevantRow.amount} {$bookingRelevantRow.created_at} {$bookingRelevantRow.type_id} {$bookingRelevantRow.type_description} {$bookingRelevantRow.reversal_of_id}
{$txt.payment_data_relevant}
{foreach from=$collection.payment_data_relevant item=paymentRelevantRow} {/foreach}
{$txt.payment_data_relevant_id} {$txt.payment_data_relevant_amount} {$txt.payment_data_relevant_created_at} {$txt.payment_data_relevant_type_id}/{$txt.payment_data_relevant_type_description} {$txt.payment_data_relevant_reversal_of_id} {$txt.payment_data_relevant_booking_id_incoming} {$txt.payment_data_relevant_booking_id_used}
{$paymentRelevantRow.id} {$paymentRelevantRow.amount} {$paymentRelevantRow.created_at} {$paymentRelevantRow.type_id}/{$paymentRelevantRow.type_description} {$paymentRelevantRow.reversal_of_id} {$paymentRelevantRow.booking_id_incoming} {$paymentRelevantRow.booking_id_used}

{$txt.new_payment}
{$txt.new_payment}
EUR
{/foreach}